#! /usr/bin/env python

import sys
from PyQt4 import QtGui


class SNWindow(QtGui.QWidget):
    def __init__(self, parent):
        QtGui.QWidget.__init__(self, parent)
        splitter = QtGui.QSplitter(self)
        treeview = QtGui.QTreeView()
        textctrl = QtGui.QTextEdit()

        splitter.addWidget(treeview)
        splitter.addWidget(textctrl)

if __name__ == '__main__':
    app = QtGui.QApplication(sys.argv)
    window = SNWindow(None)
    window.show()
    sys.exit(app.exec_())
    
